package hcn.protocol.ods.ehc;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * 电子健康卡接口请求参数
 * Created by yanglj on 2019/3/1.
 */
@XmlRootElement(name = "ehcApiRequest")
public class EhcApiRequest {
    private String data;//请求数据包（格式：json），请求包应包含app_id
    private Integer algorithm;//签名算法（1- SM2WithSM3算法，2-SM3算法）
    private String signature;//对请求包做的签名值（格式：16进制串）

    @XmlElement(name = "data")
    public String getData() {
        return data;
    }

    public void setData(String data) {
        this.data = data;
    }

    @XmlElement(name = "algorithm")
    public Integer getAlgorithm() {
        return algorithm;
    }

    public void setAlgorithm(Integer algorithm) {
        this.algorithm = algorithm;
    }

    @XmlElement(name = "signature")
    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

}
